﻿<Window x:Class="FileMatcherApp.Views.ViewFilterWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:fileMatcher="clr-namespace:FileMatcherApp" 
        xmlns:local="clr-namespace:FileMatcherApp"
        xmlns:rules="clr-namespace:FileMatcherApp.Models"
        Title="{x:Static local:Strings.FilterWindowTitle}" Height="80" Width="300">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Resources/Base.xaml"></ResourceDictionary>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
            <CheckBox IsChecked="{Binding IsEnabled}">
                <TextBlock Text="{x:Static local:Strings.FilterCriterion}"></TextBlock>
            </CheckBox>
            <TextBox Width="60" Text="{Binding TotalDuplicateMbs, Converter={StaticResource NumericToStringConverter}}"></TextBox>
            <TextBlock Text="{x:Static local:Strings.FilterCriterionTail}"></TextBlock>
        </StackPanel>
    </Grid>
</Window>
